<%@ page contentType="text/html;charset=UTF-8" %>﻿
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8"/>
<title>网吧管理系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<c:import url="../common/commoncss.jsp" ></c:import>

</head>

<body class="page-header-fixed page-quick-sidebar-over-content page-style-square"> 
	<!-- BEGIN HEADER -->
	<c:import url="../common/head.jsp" ></c:import>
	<!-- END HEADER -->

	<div class="clearfix"></div>

<!-- BEGIN CONTAINER -->
<div class="page-container">
	<!-- BEGIN SIDEBAR -->
	<c:import url="../common/left.jsp" ></c:import>
	<!-- END SIDEBAR -->
	<!-- BEGIN CONTENT -->
	<div class="page-content-wrapper">
		<div class="page-content">
			
			<!-- BEGIN PAGE HEADER-->
			<h3 class="page-title">
			首页 <small>运营概况 & 实时报表</small>
			</h3>
			<div class="page-bar">
				<ul class="page-breadcrumb">
					<li>
						<i class="fa fa-home"></i>
						<a href="javascript:;">首页</a>
						<i class="fa fa-angle-right"></i>
					</li>
				</ul>
			</div>
			<!-- END PAGE HEADER-->
			<!--start row 四个统计豆腐块 -->
			<div class="row">
				<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
					<div class="dashboard-stat blue-madison">
						<div class="visual">
							<i class="fa fa-comments"></i>
						</div>
						<div class="details">
							<div class="number">
								 1349
							</div>
							<div class="desc">
								 开机电脑
							</div>
						</div>
						<a class="more" href="#">
						详情 <i class="m-icon-swapright m-icon-white"></i>
						</a>
					</div>
				</div>
				<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
					<div class="dashboard-stat red-intense">
						<div class="visual">
							<i class="fa fa-bar-chart-o"></i>
						</div>
						<div class="details">
							<div class="number">
								 1241
							</div>
							<div class="desc">
								 上机人数
							</div>
						</div>
						<a class="more" href="#">
						详情 <i class="m-icon-swapright m-icon-white"></i>
						</a>
					</div>
				</div>
				<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
					<div class="dashboard-stat green-haze">
						<div class="visual">
							<i class="fa fa-shopping-cart"></i>
						</div>
						<div class="details">
							<div class="number">
								 549
							</div>
							<div class="desc">
								 今日上机总时长(分钟)
							</div>
						</div>
						<a class="more" href="#">
						详情 <i class="m-icon-swapright m-icon-white"></i>
						</a>
					</div>
				</div>
				<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
					<div class="dashboard-stat purple-plum">
						<div class="visual">
							<i class="fa fa-globe"></i>
						</div>
						<div class="details">
							<div class="number">
								 +89.523%
							</div>
							<div class="desc">
								 今日上座率
							</div>
						</div>
						<a class="more" href="#">
						详情 <i class="m-icon-swapright m-icon-white"></i>
						</a>
					</div>
				</div>
			</div>
			<!--end row 四个统计豆腐块 -->
			<!--start 统计图 -->
			<div class="row">
				<div class="col-md-6 col-sm-6">
					<!-- BEGIN PORTLET-->
					<div class="portlet solid bordered grey-cararra">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-bar-chart-o"></i>近一周上座率趋势
							</div>
							<div class="actions">
								<div class="btn-group" data-toggle="buttons">
									<label class="btn grey-steel btn-sm active">
									<input type="radio" name="options" class="toggle" id="option1">实时</label>
									<label class="btn grey-steel btn-sm">
									<input type="radio" name="options" class="toggle" id="option2">历史</label>
								</div>
							</div>
						</div>
						<div class="portlet-body">
							<div id="site_statistics_loading" style="display: none;">
								<img src="${ctx}/static/metronic/assets/admin/layout/img/loading.gif" alt="loading">
							</div>
							<div id="site_statistics_content" class="display-none" style="display: block;">
								<div id="site_statistics" class="chart">
								</div>
							</div>
						</div>
					</div>
					<!-- END PORTLET-->
				</div>
				<div class="col-md-6 col-sm-6">
					<!-- BEGIN PORTLET-->
					<div class="portlet solid grey-cararra bordered">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-bullhorn"></i>近一周营收统计
							</div>
							<div class="actions">
								<div class="btn-group pull-right">
									<a href="" class="btn grey-steel btn-sm dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
									过滤 <span class="fa fa-angle-down">
									</span>
									</a>
									<ul class="dropdown-menu pull-right">
										<li>
											<a href="javascript:;">
											全部
											</a>
										</li>
										<li  class="active">
											<a href="javascript:;">
											仅包含上机费 
											</a>
										</li>
										<li>
											<a href="javascript:;">
											仅包含零食酒水收费 
											</a>
										</li>
									</ul>
								</div>
							</div>
						</div>
						<div class="portlet-body">
							<div id="site_activities_loading" style="display: none;">
								<img src="${ctx}/static/metronic/assets/admin/layout/img/loading.gif" alt="loading">
							</div>
							<div id="site_activities_content" class="display-none" style="display: block;">
								<div id="site_activities" style="height: 228px;">
								</div>
							</div>
							<div style="margin: 20px 0 10px 30px">
								<div class="row">
									
								</div>
							</div>
						</div>
					</div>
					<!-- END PORTLET-->
				</div>
			</div>
			<!--end 统计图 -->
			<!--start 日程和聊天 -->
			<div class="row ">
				<div class="col-md-6 col-sm-6">
					<!-- BEGIN PORTLET-->
					<div class="portlet box blue-madison calendar">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-calendar"></i>个人日程
							</div>
						</div>
						<div class="portlet-body light-grey">
							<div id="calendar">
							</div>
						</div>
					</div>
					<!-- END PORTLET-->
				</div>
				<div class="col-md-6 col-sm-6">
					<!-- BEGIN PORTLET-->
					<div class="portlet">
						<div class="portlet-title line">
							<div class="caption">
								<i class="fa fa-comments"></i>上机人聊天记录
							</div>
							<div class="tools">
								<a href="" class="collapse" data-original-title="" title="">
								</a>
								<a href="#portlet-config" data-toggle="modal" class="config" data-original-title="" title="">
								</a>
								<a href="" class="reload" data-original-title="" title="">
								</a>
								<a href="" class="fullscreen" data-original-title="" title="">
								</a>
								<a href="" class="remove" data-original-title="" title="">
								</a>
							</div>
						</div>
						<div class="portlet-body" id="chats">
							<div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 352px;"><div class="scroller" style="height: 352px; overflow: hidden; width: auto;" data-always-visible="1" data-rail-visible1="1" data-initialized="1">
								<ul class="chats">
									<li class="in">
										<img class="avatar" alt="" src="${ctx}/static/metronic/assets/admin/layout/img/avatar1.jpg">
										<div class="message">
											<span class="arrow">
											</span>
											<a href="#" class="name">
											401331198610102392 张三 </a>
											<span class="datetime">
											20:09 </span>
											<span class="body">
											23号来一包小龙王槟榔 </span>
										</div>
									</li>
									<li class="in">
										<img class="avatar" alt="" src="${ctx}/static/metronic/assets/admin/layout/img/avatar1.jpg">
										<div class="message">
											<span class="arrow">
											</span>
											<a href="#" class="name">
											4055562310102392X 李四 </a>
											<span class="datetime">
											20:09 </span>
											<span class="body">
											113号送杯水过来 </span>
										</div>
									</li>
									
									<li class="in">
										<img class="avatar" alt="" src="${ctx}/static/metronic/assets/admin/layout/img/avatar3.jpg">
										<div class="message">
											<span class="arrow">
											</span>
											<a href="#" class="name">
											40652346610102392 王五 </a>
											<span class="datetime">
											20:09 </span>
											<span class="body">
											77号鼠标不灵活 </span>
										</div>
									</li>
									<li class="out">
										<img class="avatar" alt="" src="${ctx}/static/metronic/assets/admin/layout/img/avatar1.jpg">
										<div class="message">
											<span class="arrow">
											</span>
											<a href="#" class="name">
											服务员1 </a>
											<span class="datetime">
											 20:40 </span>
											<span class="body">
											afsdfsdf </span>
										</div>
									</li>
									
								</ul>
							</div><div class="slimScrollBar" style="width: 7px; position: absolute; top: 0px; opacity: 0.4; display: block; border-radius: 7px; z-index: 99; right: 1px; height: 190.328725038402px; background: rgb(187, 187, 187);"></div><div class="slimScrollRail" style="width: 7px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; opacity: 0.2; z-index: 90; right: 1px; background: rgb(234, 234, 234);"></div></div>
							<div class="chat-form">
								<div class="input-cont">
									<input class="form-control" type="text" placeholder="Type a message here...">
								</div>
								<div class="btn-cont">
									<span class="arrow">
									</span>
									<a href="" class="btn blue icn-only">
									<i class="fa fa-check icon-white"></i>
									</a>
								</div>
							</div>
						</div>
					</div>
					<!-- END PORTLET-->
				</div>
			</div>
			<!--end 日程和聊天  -->
		</div>
	</div>
	<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<c:import url="../common/footer.jsp" ></c:import>
<!-- END FOOTER -->
<c:import url="../common/commonjs.jsp" ></c:import>

<script>
jQuery(document).ready(function() {    
   Metronic.init(); // init metronic core componets
   Layout.init(); // init layout
   
   Demo.init(); // init demo features 
   Index.init();   
   Index.initDashboardDaterange();
   Index.initJQVMAP(); // init index page's custom scripts
   Index.initCalendar(); // init index page's custom scripts
   Index.initCharts(); // init index page's custom scripts
   Index.initChat();
   Index.initMiniCharts();
   Tasks.initDashboardWidget();
});
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>